import {
  Component,
  OnInit,
  ApplicationRef,
  Injector,
  AfterViewInit,
  OnDestroy,
  Inject
} from "@angular/core";
import { EhAnimateService } from "@/share/services/eh-animate.service";
import { Router, CanActivate, ActivatedRoute } from "@angular/router";
import { AppComponent } from "@/app.component";
import { DialogService } from "@/cpts/services/dialog.service";

import {
  LocaleService,
  TranslationService,
  Language,
  DefaultLocale
} from "angular-l10n";

@Component({
  selector: "app-home",
  templateUrl: "./home.component.html",
  styleUrls: ["./home.component.scss"],
  animations: [EhAnimateService.fadeInOut()]
})
export class HomeComponent implements OnInit, AfterViewInit, OnDestroy {
  @Language() lang: string;

  constructor(
    activatedRoute: ActivatedRoute,
    private applicationRef: ApplicationRef,
    private dialogService: DialogService,
    @Inject("StoreService") private storeService,
    @Inject("CookieService") private cookieService
  ) {}

  ngOnInit() {}

  ngAfterViewInit() {}

  ngOnDestroy() {}
}
